/* preview nome servizi clinica */
// initiate the plugin after DOM has loaded  
     jQuery(document).ready(function($) { 
        
        // List of all parameters and their default values:  
        $('a.icone').aToolTip({  
            // no need to change/override  
            closeTipBtn: 'aToolTipCloseBtn',  
            toolTipId: 'aToolTip',  
            // ok to override  
            fixed: false,                   // Set true to activate fixed position  
            clickIt: false,                 // set to true for click activated tooltip  
            inSpeed: 200,                   // Speed tooltip fades in  
            outSpeed: 100,                  // Speed tooltip fades out  
            tipContent: '',                 // Pass in content or it will use objects 'title' attribute  
            toolTipClass: 'defaultTheme',   // Set class name for custom theme/styles  
            xOffset: 5,                     // x position  
            yOffset: 5,                     // y position  
            onShow: null,                   // callback function that fires after atooltip has shown  
            onHide: null                    // callback function that fires after atooltip has faded out      
        });  
          
    });  	
     
     
     
     
     $(document).ready(function($){
			$('#accordion-1').dcAccordion({
				eventType: 'click',
				autoClose: true,
				saveState: true,
				disableLink: true,
				speed: 'slow',
				showCount: false,
				autoExpand: false	,
				cookie	: 'dcjq-accordion-1',
				classExpand	 : 'dcjq-current-parent'
			});
			
}); 
     
     
 	
 	$(document).ready(function($){
 					$('#accordion-2').dcAccordion({
 						eventType: 'click',
 						autoClose: false,
 						saveState: true,
 						disableLink: true,
 						speed: 'slow',
 						showCount: false,
 						autoExpand: true,
 						cookie	: 'dcjq-accordion-1',
 						classExpand	 : 'dcjq-current-parent'
 					});
 					
 });
 	
 	
 	$(document).ready(function($){
			$('#accordion-ricerca_medico').dcAccordion({
				eventType: 'click',
				autoClose: false,
				saveState: true,
				disableLink: true,
				speed: 'slow',
				showCount: false,
				autoExpand: true,
				cookie	: 'dcjq-accordion-1',
				classExpand	 : 'dcjq-current-parent'
			});
			
});
	
	




$(document).ready(function($){
	$('#accordion-prima').dcAccordion({
		eventType: 'click',
		autoClose: false,
		saveState: true,
		disableLink: true,
		speed: 'slow',
		showCount: false,
		autoExpand: false	,
		cookie	: 'dcjq-accordion-1',
		classExpand	 : 'dcjq-current-parent'
	});
	
});


$(document).ready(function($){
	$('#accordion-seconda').dcAccordion({
		eventType: 'click',
		autoClose: false,
		saveState: true,
		disableLink: true,
		speed: 'slow',
		showCount: false,
		autoExpand: false	,
		cookie	: 'dcjq-accordion-1',
		classExpand	 : 'dcjq-current-parent'
	});
	
});


$(document).ready(function($){
	$('#accordion-terza').dcAccordion({
		eventType: 'click',
		autoClose: false,
		saveState: true,
		disableLink: true,
		speed: 'slow',
		showCount: false,
		autoExpand: false	,
		cookie	: 'dcjq-accordion-1',
		classExpand	 : 'dcjq-current-parent'
	});
	
});


$(document).ready(function($){
	$('#accordion-quarta').dcAccordion({
		eventType: 'click',
		autoClose: false,
		saveState: true,
		disableLink: true,
		speed: 'slow',
		showCount: false,
		autoExpand: false	,
		cookie	: 'dcjq-accordion-1',
		classExpand	 : 'dcjq-current-parent'
	});
	
});


$(document).ready(function($){
	$('#accordion-quinta').dcAccordion({
		eventType: 'click',
		autoClose: false,
		saveState: true,
		disableLink: true,
		speed: 'slow',
		showCount: false,
		autoExpand: false	,
		cookie	: 'dcjq-accordion-1',
		classExpand	 : 'dcjq-current-parent'
	});
	
});


$(document).ready(function($){
	$('#accordion-sesta').dcAccordion({
		eventType: 'click',
		autoClose: false,
		saveState: true,
		disableLink: true,
		speed: 'slow',
		showCount: false,
		autoExpand: false	,
		cookie	: 'dcjq-accordion-1',
		classExpand	 : 'dcjq-current-parent'
	});
	
});


$(document).ready(function($){
	$('#accordion-settima').dcAccordion({
		eventType: 'click',
		autoClose: false,
		saveState: true,
		disableLink: true,
		speed: 'slow',
		showCount: false,
		autoExpand: false	,
		cookie	: 'dcjq-accordion-1',
		classExpand	 : 'dcjq-current-parent'
	});
	
});

/* pulsanti scroll pagina profilo clinica */

$(document).ready(function() {
	$('.prenota').click(function() {
	   var elementClicked = $(this).attr("href");
	   var destination = $(elementClicked).offset().top;
	   $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-0}, 500 );
	   return false;
	});
	});

	$(document).ready(function() {
		$('.consigli_esperti').click(function() {
		   var elementClicked = $(this).attr("href");
		   var destination = $(elementClicked).offset().top;
		   $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-0}, 500 );
		   return false;
		});
		});

	$(document).ready(function() {
		$('.tecniche_procedure').click(function() {
		   var elementClicked = $(this).attr("href");
		   var destination = $(elementClicked).offset().top;
		   $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-0}, 500 );
		   return false;
		});
		});

	$(document).ready(function() {
		$('.interviste_apparizioni').click(function() {
		   var elementClicked = $(this).attr("href");
		   var destination = $(elementClicked).offset().top;
		   $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-0}, 500 );
		   return false;
		});
		});
	
	$(document).ready(function() {
		$('.promozioni_partecipazioni').click(function() {
		   var elementClicked = $(this).attr("href");
		   var destination = $(elementClicked).offset().top;
		   $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-0}, 500 );
		   return false;
		});
		});